<template>
    <div id="tepl">
        <!-- 评论组件 -->
        <!-- 实现提交评论数据到服务器静态页面 -->
        <div id="postcomment">
            <h3>提交评论</h3>
            <p></p>
            <textarea placeholder="请输入您的评论内容"></textarea>
            <mt-button type="primary" size="large" @click="postcommment">提交</mt-button>
        </div>
    </div>
    
</template>
<script>
export default {
    props:['id'], //作用是接收父组件传入过来的id值
    methods:{
        postcomment(){
            
        }
    }
}
</script>
<style scoped>
#postcomment{
    padding: 5px;
}
#postcomment p{
    height: 1px;
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

</style>


